package com.hsource.doctorcenter.service.file;

import org.springframework.web.multipart.MultipartHttpServletRequest;

import java.io.IOException;
import java.util.Map;

/**
 * @author yangYang
 * @version 1.0
 * @date 2020/9/28 11:58
 * @describe 文件操作业务逻辑层
 */
public interface IFileService {
    Map<String,Object> uploadOssFile(MultipartHttpServletRequest request);

    /**
     * webstock 文件上传
     * @param request
     * @return
     * @throws IOException
     */
    Map<String,Object> uploadWebSockFile(MultipartHttpServletRequest request) throws IOException;
    /**
     * 上传文件
     * @param request
     * @return
     */
    Map<String,Object> uploadFile(MultipartHttpServletRequest request) throws IOException;
}
